package com.adams.dcxt.bean;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "dcxt_waiter")
public class Waiter implements Serializable {

	@Id
	@Column(name = "waiter_number")
	private Long number;

	@Column(name = "waiter_name" ,length=10)
	private String name;

	@Column(name = "waiter_pwd" ,length=64)
	private String passwd;

	@Column(name = "waiter_sex" ,length=2)
	private String sex;
	
	@Column(name = "waiter_phone" ,length=20)
	private String phone;

	public Long getNumber() {
		return number;
	}

	public void setNumber(Long number) {
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}
